Integration of green energy